package com.qf.mapper;

import com.qf.entity.*;
import com.qf.entity.custom.*;
import sun.rmi.server.InactiveGroupException;

import javax.jws.soap.SOAPBinding;
import java.util.List;


/**
 * @author tanchangming
 * @describtion 用户模块接口,给controllor层使用
 */
public interface UserModule {

    User selectNameAndImageByUserId(int id);

    UserShare selectShareByUserId(int id);
    UserShareCustom selectUserShare(int id);

    List<ColUserSha> selectColUserShare(int id);

    UserEvaluation selectEvaluationByUserId(int id);
    UserEvaShopCustom selectUserEvaShop(int id);
    UserEvaCustom selectUserEva(int id);

    Browse selectBrowseByUserId(int id);
    UserBroCustom selectUserBro(int id);
    UserBroShopCustom selectUserBroShop(int id);

    UserCustom selectUserCoupons(int id);

    User selectBalanceByUserId(int id);

    List<Integer> selectUserId();

    List<Shop> selectShop();

    Admin selectAdmin01(int id);
    Admin selectAdmin02(int id);

    List<User> selectUserAll();

    Integer selectUserCount();

    Integer selectShopCount();

    Integer selectUserCountTd();

    Integer selectShopCountTd();

    List<ShopPro> selectShopPro();


}
